package com.worldtvs.online;

import java.util.ArrayList;

import org.json.JSONArray;

import android.app.Application;

import com.worldtvs.online.entity.CatInfo;

public class English4KidApplication extends Application {
    private int catID = -1;
    private boolean isIndex = true;

    private JSONArray jArrAdsExit;

    private ArrayList<CatInfo> datas;
    private String packageName;
    private int access;

    @Override
    public void onCreate() {
	super.onCreate();
	packageName = getApplicationContext().getPackageName();
    }

    public int getAccess() {
        return access;
    }

    public void setAccess(int access) {
        this.access = access;
    }

    public int getCatID() {
	return catID;
    }

    public void setCatID(int catID) {
	this.catID = catID;
    }

    public boolean isIndex() {
	return isIndex;
    }

    public void setIndex(boolean isIndex) {
	this.isIndex = isIndex;
    }

    public ArrayList<CatInfo> getDatas() {
	return datas;
    }

    public void setDatas(ArrayList<CatInfo> datas) {
	this.datas = datas;
    }

    public JSONArray getjArrAdsExit() {
	return jArrAdsExit;
    }

    public void setjArrAdsExit(JSONArray jArrAdsExit) {
	this.jArrAdsExit = jArrAdsExit;
    }

    @Override
	public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }
    
}
